import request from '@/api/http'

// 执行登录
function getImgList(params) {
  return request({
    url: '/admin/xy/upload/list',
    method: 'get',
    params
  })
}

function updateTitle(params) {
  return request({
    url: '/admin/xy/upload/updateTitle',
    method: 'post',
    params
  })
}

function delImg(params) {
  return request({
    url: '/admin/xy/upload/del',
    method: 'get',
    params
  })
}

export default {
  getImgList,
  updateTitle,
  delImg
}
